<script setup lang="ts">
defineProps<{
  summary: string;
}>();
</script>

<template>
  <div class="article-summary">
    <p>{{ summary }}</p>
  </div>
</template>

<style scoped lang="less">
.article-summary {
  padding: 32px 40px 0;
  margin-bottom: 24px;

  p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    background-color: #f8f9fa;
    border-left: 4px solid #60a5fa;
    padding: 16px 20px;
    margin: 0;
    text-align: justify;
    border-radius: 0 4px 4px 0;
  }
}
@media (max-width: 768px) {
  .article-summary {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (max-width: 576px) {
  .article-summary {
    padding-left: 16px;
    padding-right: 16px;
  }
}
</style>
